#!/bin/sh
# Syntax: new-version.sh filename oldver newver
rm -f /tmp/tmp.change
if [ ! -d $1 ] ; then \
  sed 's/'$2'/'$3'/g' $1 > /tmp/tmp.change; \
  mv /tmp/tmp.change $1;
fi
